package com.cloudbroker.bcs.platform.ltb.bizapi.service.user.vo;

import com.cloudbroker.bcs.common.validatioin.annotation.*;
import com.cloudbroker.bcs.platform.ltb.bizapi.constants.type.UserType;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.base.vo.UserVO;

/**
 * Created by lili19289 on 2016/8/23.
 */
public class LoginAuthorizationForm extends UserVO {


    @Mobile
    @Length(max = 255)
    protected String login_account;


    @NotNull
    @EnumValue(enumClass = UserType.class)
    protected String user_type;

    @NotBlank
    //后续扩展参数 登录方式
    protected String login_way;

    @NotBlank
    //领投宝三方帐号
     protected  String ltb_uid;

    @NotBlank
    protected String sign;

    @NotBlank
    //当前时间戳
    protected String timestamp;

    @Length(max = 20)
    protected String sendercomp_id;

    @Length(max = 10)
    protected String company_id;

    public String getLogin_account() {
        return login_account;
    }

    public void setLogin_account(String login_account) {
        this.login_account = login_account;
    }

    @Override
    public String getSendercomp_id() {
        return sendercomp_id;
    }

    @Override
    public void setSendercomp_id(String sendercomp_id) {
        this.sendercomp_id = sendercomp_id;
    }

    public String getLogin_way() {
        return login_way;
    }

    public void setLogin_way(String login_way) {
        this.login_way = login_way;
    }


    public String getLtb_uid() {
        return ltb_uid;
    }

    public void setLtb_uid(String ltb_uid) {
        this.ltb_uid = ltb_uid;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    @Override
    public String getUser_type() {
        return user_type;
    }

    @Override
    public void setUser_type(String user_type) {
        this.user_type = user_type;
    }

    @Override
    public String getCompany_id() {
        return company_id;
    }

    @Override
    public void setCompany_id(String company_id) {
        this.company_id = company_id;
    }
}

